package com.ysd.web.entity;

public class Product {
	private int pid;
	private int p_pcid;
	private String pname;
	private String pmaterial;
	private double pprice;
	private double pmprice;
	private String pbrand;
	private String pmodel;
	private String pstyle;
	private String ppositioning;
	private String pcolor;
	private String pelement;
	private String pbimg;
	private String psimg;
	private String isassemble;
	private String iscustomized;
	private String iscarefully;
	private String iswheel;
	private String ptname;
	private int ptid;
	private int totalpage;
	private String time;
	public Product(int pid, int p_pcid, String pname, String pmaterial,
			double pprice, double pmprice, String pbrand, String pmodel,
			String pstyle, String ppositioning, String pcolor, String pelement,
			String pbimg, String psimg, String isassemble, String iscustomized,
			String iscarefully, String iswheel, String ptname, int ptid,
			int totalpage) {
		super();
		this.pid = pid;
		this.p_pcid = p_pcid;
		this.pname = pname;
		this.pmaterial = pmaterial;
		this.pprice = pprice;
		this.pmprice = pmprice;
		this.pbrand = pbrand;
		this.pmodel = pmodel;
		this.pstyle = pstyle;
		this.ppositioning = ppositioning;
		this.pcolor = pcolor;
		this.pelement = pelement;
		this.pbimg = pbimg;
		this.psimg = psimg;
		this.isassemble = isassemble;
		this.iscustomized = iscustomized;
		this.iscarefully = iscarefully;
		this.iswheel = iswheel;
		this.ptname = ptname;
		this.ptid = ptid;
		this.totalpage = totalpage;
	}
	public Product() {
		super();
		// TODO Auto-generated constructor stub
	}
	@Override
	public String toString() {
		return "Product [pid=" + pid + ", p_pcid=" + p_pcid + ", pname="
				+ pname + ", pmaterial=" + pmaterial + ", pprice=" + pprice
				+ ", pmprice=" + pmprice + ", pbrand=" + pbrand + ", pmodel="
				+ pmodel + ", pstyle=" + pstyle + ", ppositioning="
				+ ppositioning + ", pcolor=" + pcolor + ", pelement="
				+ pelement + ", pbimg=" + pbimg + ", psimg=" + psimg
				+ ", isassemble=" + isassemble + ", iscustomized="
				+ iscustomized + ", iscarefully=" + iscarefully + ", iswheel="
				+ iswheel + ", ptname=" + ptname + ", ptid=" + ptid
				+ ", totalpage=" + totalpage + "]";
	}
	public int getPid() {
		return pid;
	}
	public void setPid(int pid) {
		this.pid = pid;
	}
	public int getP_pcid() {
		return p_pcid;
	}
	public void setP_pcid(int p_pcid) {
		this.p_pcid = p_pcid;
	}
	public String getPname() {
		return pname;
	}
	public void setPname(String pname) {
		this.pname = pname;
	}
	public String getPmaterial() {
		return pmaterial;
	}
	public void setPmaterial(String pmaterial) {
		this.pmaterial = pmaterial;
	}
	public double getPprice() {
		return pprice;
	}
	public void setPprice(double pprice) {
		this.pprice = pprice;
	}
	public double getPmprice() {
		return pmprice;
	}
	public void setPmprice(double pmprice) {
		this.pmprice = pmprice;
	}
	public String getPbrand() {
		return pbrand;
	}
	public void setPbrand(String pbrand) {
		this.pbrand = pbrand;
	}
	public String getPmodel() {
		return pmodel;
	}
	public void setPmodel(String pmodel) {
		this.pmodel = pmodel;
	}
	public String getPstyle() {
		return pstyle;
	}
	public void setPstyle(String pstyle) {
		this.pstyle = pstyle;
	}
	public String getPpositioning() {
		return ppositioning;
	}
	public void setPpositioning(String ppositioning) {
		this.ppositioning = ppositioning;
	}
	public String getPcolor() {
		return pcolor;
	}
	public void setPcolor(String pcolor) {
		this.pcolor = pcolor;
	}
	public String getPelement() {
		return pelement;
	}
	public void setPelement(String pelement) {
		this.pelement = pelement;
	}
	public String getPbimg() {
		return pbimg;
	}
	public void setPbimg(String pbimg) {
		this.pbimg = pbimg;
	}
	public String getPsimg() {
		return psimg;
	}
	public void setPsimg(String psimg) {
		this.psimg = psimg;
	}
	public String getIsassemble() {
		return isassemble;
	}
	public void setIsassemble(String isassemble) {
		this.isassemble = isassemble;
	}
	public String getIscustomized() {
		return iscustomized;
	}
	public void setIscustomized(String iscustomized) {
		this.iscustomized = iscustomized;
	}
	public String getIscarefully() {
		return iscarefully;
	}
	public void setIscarefully(String iscarefully) {
		this.iscarefully = iscarefully;
	}
	public String getIswheel() {
		return iswheel;
	}
	public void setIswheel(String iswheel) {
		this.iswheel = iswheel;
	}
	public String getPtname() {
		return ptname;
	}
	public void setPtname(String ptname) {
		this.ptname = ptname;
	}
	public int getPtid() {
		return ptid;
	}
	public void setPtid(int ptid) {
		this.ptid = ptid;
	}
	public int getTotalpage() {
		return totalpage;
	}
	public void setTotalpage(int totalpage) {
		this.totalpage = totalpage;
	}
	public String getTime() {
		return time;
	}
	public void setTime(String time) {
		this.time = time;
	}
	

	
	
}
